package com.zhouyu.controller;

import org.springframework.stereotype.Component;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author leimingchao
 * create 2025-05-21 20:37
 *
 * bean的名字必须以/开头
 */
@Component(value = "/controller")
public class ZhouyuBeanController implements Controller {

	@Override
	public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {

		System.out.println("controller");
		return null;
	}
}
